﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="true" CodeBehind="Events.aspx.cs" Inherits="blackhouse.Aparts.Web.Pages.Events" %>

<%@ Register Src="~/Modules/SelectedEvent.ascx" TagName="SelectedEvent" TagPrefix="blackhouse" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="page-nonwrap">
        <blackhouse:SelectedEvent runat="server" ID="bhSelectedEvent" Visible="false" />
        <div class="clear"></div>
        <h1 class="ntit">
            <asp:Literal runat="server" ID="ltlDefaultTitle" Text="<%$Resources:Aparts, events %>" />
            <asp:Literal runat="server" ID="ltlOnSelectedTitle" Text="<%$Resources:Aparts, restEvents %>" Visible="false" />
            <asp:PlaceHolder runat="server" ID="phActions"></asp:PlaceHolder>
             
        </h1>
        <asp:Repeater runat="server" ID="rptEvents" OnItemDataBound="rptEvents_ItemDataBound">
            <ItemTemplate>
                <div class="event-i event-i-<%#Container.ItemIndex%2 %>">
                    <asp:HyperLink runat="server" ID="lnkImage" CssClass="event-image" />
                    <div class="event-content">
                        <h2 class="event-title">
                            <asp:HyperLink runat="server" ID="lnkLink" />
                        </h2>
                        <asp:Literal runat="server" ID="ltlLead" />
                    <asp:HyperLink runat="server" ID="lnkLink2" CssClass="event-more" Text="czytaj więcej" />
                    </div>
                    <div class="event-date">
                        <asp:Literal runat="server" ID="ltlDate" Visible="false" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
